home *** CD-ROM | disk | FTP | other *** search
Prolog Source | 1986-10-07 | 295 b | 17 lines |
- /* Program 19 */
- /*
- The goal to enter is on page 70 of the manual.
- */
-
- domains
- integerlist = integer*
- namelist = symbol*
-
- predicates
- writelist(integerlist)
- writelist(namelist).
-
- clauses
- writelist([]).
- writelist([H|T]) :- write(H," "), writelist(T).